package com.hualan.service;

import com.github.pagehelper.PageInfo;
import com.hualan.pojo.Feedback;
import com.hualan.pojo.PageResult;
import com.hualan.pojo.Questions;

import java.util.List;

public interface FeedbackService {
    PageResult<Feedback> getAllFeedback(Integer page, Integer pageSize);
    PageInfo<Feedback> getFeedbackWithConsultantByQuesId(Integer quesId, int pageNum, int pageSize);

    int deleteByPrimaryKey(Long id);

    int batchDelete(List<Long> ids);

    int addFeedback(Feedback feedback);

    PageResult<Feedback> searchByContent(String content, Integer page, Integer pageSize);
}
